package com.ekalenchuk.module.dao.user;

import com.ekalenchuk.module.dao.GenericDao;
import com.ekalenchuk.module.domain.user.User;
import com.ekalenchuk.module.exception.entity.NotFoundException;

public interface UserDao extends GenericDao<User, Long> {

	User getUserByFacebookId(final Long fbId) throws NotFoundException;

	User getUserByLogin(final String login) throws NotFoundException;
}
